class LabDevice:
    """
    Device Class
    """
    def __init__(self,name,csrv,tty):
        self.name = name                    # Device Name
        self.csrv = csrv                    # ComServer reference
        self.tty = tty                      # TTY line number
        self.status = True                  # False=Busy, True=Free
        self.usedby = None

class ComServer:
    """
    ComServer Class
    """
    def __init__(self,name,ipaddress,port,b64ConsolePassword,b64EnablePassword,roCommunity,rwCommunity):
        self.name = name
        self.ipaddress = ipaddress
        self.port = port
        self.consolePwd = b64ConsolePassword
        self.enablePwd = b64EnablePassword
        self.roCommunity = roCommunity
        self.rwCommunity = rwCommunity